The ball underneath the mouse moves sensors that send electronic signals to your PC which move the mouse cursor.